package September27;

import java.time.LocalDate;
import java.time.format.TextStyle;
import java.util.Locale;

public class NationalDayWeekday {
    public static void main(String[] args) {
        LocalDate nationalDay = LocalDate.of(LocalDate.now().getYear(), 10, 1);
        String weekday = nationalDay.getDayOfWeek().getDisplayName(TextStyle.FULL, Locale.getDefault());
        System.out.println("今年的国庆节是 " + weekday + "。");
    }
}
